public class EscapeState implements State {
    @Override
    public void handle(StringExtractorContext context) {
        // 扫描到任意字符：直接加入结果集，回到“读取字符串内容”状态
        context.getResultBuilder().append(context.getCurrentChar());
        context.setCurrentState(new ReadingContentState());
    }
}